//
// Created by Martin on 2021/9/30.
//

#ifndef DESIGNPATTERN_CPP_COMMAND_H
#define DESIGNPATTERN_CPP_COMMAND_H

/**
 * 命令类
 * 声明执行操作的接口
 */
class Command {
public:
    virtual ~Command() = default;
    virtual void execute() = 0;

protected:
    Command() = default;
};


#endif //DESIGNPATTERN_CPP_COMMAND_H
